<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  
  <script>

    // "use strict"
    var obj = {
      name: "kobe",
      age: 18,
      height: 180
    }

    Object.defineProperty(obj, "name", {
      configurable: false,
      writable: false
    })

    obj.name = "aaa"
    console.log(obj.name)

    Object.defineProperties(obj,{
      age: {
        writable: false,
      },
      height: {
        writable: false
      }
    })
  </script>
</body>
</html>